﻿<?xml version="1.0" encoding="utf-8"?>
<Dashboard CurrencyCulture="en-US">
  <Title Text="Dashboard" />
  <DataSources>
    <SqlDataSource ComponentName="DashboardSqlDataSource1">
      <Name>SQL Data Source 1</Name>
      <Connection Name="ConnectionStringOnline" FromAppConfig="true" />
      <Query Type="StoredProcQuery" Name="load_sach">
        <ProcName>load_sach</ProcName>
      </Query>
      <ResultSchema>
        <DataSet Name="SQL Data Source 1">
          <View Name="load_sach">
            <Field Name="id" Type="String" />
            <Field Name="id_sach" Type="String" />
            <Field Name="tensach" Type="String" />
            <Field Name="tendm" Type="String" />
            <Field Name="ngaynhap" Type="DateTime" />
            <Field Name="hinh" Type="String" />
            <Field Name="chitiet" Type="String" />
            <Field Name="tacgia" Type="String" />
            <Field Name="nxb" Type="String" />
            <Field Name="phanloai" Type="String" />
            <Field Name="trangthai" Type="Boolean" />
          </View>
        </DataSet>
      </ResultSchema>
    </SqlDataSource>
  </DataSources>
  <Items>
    <Pie ComponentName="PieDashboardItem1" Name="Pies 1" DataSource="DashboardSqlDataSource1" DataMember="load_sach">
      <DataItems>
        <Dimension DataMember="phanloai" UniqueName="DataItem1" />
        <Measure DataMember="id_sach" SummaryType="Count" UniqueName="DataItem2" />
        <Dimension DataMember="tendm" UniqueName="DataItem0" />
      </DataItems>
      <Arguments>
        <Argument UniqueName="DataItem1" />
        <Argument UniqueName="DataItem0" />
      </Arguments>
      <Values>
        <Value UniqueName="DataItem2" />
      </Values>
    </Pie>
  </Items>
  <LayoutTree>
    <LayoutGroup Orientation="Vertical">
      <LayoutItem DashboardItem="PieDashboardItem1" Weight="100" />
    </LayoutGroup>
  </LayoutTree>
</Dashboard>